home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir24 / nosinst.zip / NOSENV.BAT < prev    next >
DOS Batch File  |  1993-11-10  |  1KB  |  45 lines

  1. @echo off
  2. REM ==========
  3. REM NOSENV.BAT
  4. REM ==========
  5.  
  6. REM  This script is called from AUTOEXEC.BAT and defines the
  7. REM  NOS environment.
  8.  
  9. REM  Make sure you have sufficent DOS environment space
  10. REM      (e.g. use "/e:1024" in CONFIG.SYS).
  11. REM
  12. REM  All NOS files are relative to the NOS root directory, P:
  13.  
  14. SUBST P: _IN_
  15. PATH=%PATH%;P:\
  16.  
  17. SET HOME=P:\pcelm
  18. SET SPOOL=P:\spool
  19.  
  20. SET EDITOR=p:\q.exe
  21. SET MAILBOX=_UC_
  22. SET MAILDIR=%SPOOL%\mail
  23. SET MAILER=P:\pcelm\pcelm.exe
  24. SET PUBDIR=P:\public
  25. SET SPOOLDIR=%SPOOL%\mqueue
  26. SET TMPDIR=P:\TMPFILES
  27. SET TZ=GMT0
  28.  
  29. SET USER=_UC_
  30. SET HAMDOMAIN=ampr.org
  31. SET HAMNODENAME=_UC_.ampr.org
  32. SET NAME=_FN_
  33. SET NODENAME=_UC_.ampr.org
  34. :start
  35. cls
  36. P:\
  37. REM Making the default directory P:\WORK keeps system files safe
  38. cd \work
  39. call nos.exe -dp:/
  40. REM Tidy up at exit time
  41. if exist _IN_\spool\mqueue\*.lck del _IN_\spool\mqueue\*.lck
  42. if exist _IN_\spool\mail\*.lck del _IN_\spool\mail\*.lck
  43. if exist _IN_\TMPFILES\*.$$$ del _IN_\TMPFILES\*.$$$
  44. REM The end
  45.